export default {
  path: "/assetmg",
  // name: "Poc",
  redirect: "/assetmg/ipgroup",
  meta: {
    icon: "IF-icon-yuming", //menu,listCheck,monitor（外部页面），ubuntuFill（功能），histogram（多级菜单）
    title: "脆弱性管理",
    rank: 1
  },
  children: [
    {
      path: "/assetmg/hardwaresearch",
      name: "HardwareSearch",
      component: () => import("@/views/assetmg/hardwaresearch/index.vue"),
      meta: {
        title: "资产搜索",
        roles: ["admin"],
        showLink: false
      }
    },
    {
      path: "/assetmg/ipgroup",
      name: "Ipgroup",
      component: () => import("@/views/assetmg/ipgroup/index.vue"),
      meta: {
        title: "定级备案资产",
        showLink: true
      }
    },
    {
      path: "/assetmg/hardwarewatch",
      name: "HardwareWatch",
      component: () => import("@/views/assetmg/hardwarewatch/index.vue"),
      meta: {
        title: "资产监控",
        roles: ["admin"],
        showLink: true
      }
    },
    {
      path: "/assetmg/basistable",
      name: "basistable",
      component: () => import("@/views/assetmg/basistable/index.vue"),
      meta: {
        title: "暴露面基表",
        roles: ["admin"],
        showLink: true
      }
    },
    {
      path: "/assetmg/assetup",
      name: "assetup",
      component: () => import("@/views/assetmg/assetup/index.vue"),
      meta: {
        title: "资产台账",
        roles: ["admin"],
        showLink: true
      }
    },
    {
      path: "/assetmg/otherbasic",
      name: "otherbasic",
      component: () => import("@/views/assetmg/otherbasic/index.vue"),
      meta: {
        title: "定级备案基表",
        // roles: ["admin", "common"],
        showLink: true
      }
      // children: [
      //   {
      //     path: "/assetmg/basicdetail",
      //     name: "basicdetail",
      //     component: () => import("@/views/assetmg/otherbasic/basicdetail.vue"),
      //     meta: {
      //       title: "基表详情",
      //       showLink: false
      //     }
      //   }
      // ]
    },
    {
      path: "/assetmg/assetdetail",
      name: "assetdetail",
      component: () => import("@/views/assetmg/assetdetail/index.vue"),
      meta: {
        title: "资产详情",
        showLink: false
      }
    },
    {
      path: "/assetmg/basicdetail",
      name: "basicdetail",
      component: () => import("@/views/assetmg/otherbasic/basicdetail.vue"),
      meta: {
        title: "基表详情",
        showLink: false
      }
    }
  ]
} as RouteConfigsTable;
